package com.yu.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.yu.bean.Salary;

@Repository
public interface SalaryDAO {
	int add(Salary salary);
	
	int update(Salary salary);
	
	int delete(int id);
	
	List<Salary> getAll();
	
	List<Salary> getAllWithEmployee();
	
	Salary getById(int id);
}
